﻿using BankSystemWithCSharp.DataBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BankSystemWithCSharp
{
    public class RecordController : IRecord
    {
        public IEnumerable<TransformRecord> GetRecord()
        {
            return GetRecord(TransformRecordArbiName.None);
        }

        public IEnumerable<TransformRecord> GetRecord(TransformRecordArbiName orderBy)
        {
            return BankDataBase.Intance.GetTransformRecord(orderBy);
        }
    }
}